package com.bnz.service;


import com.bnz.Student;
import com.bnz.until.PageResult;
import com.bnz.vo.StudentVo;

import java.util.List;

public interface StudentService {

	List<Student> findAll();

	void add(Student student);

	// 分页查询
	PageResult<Student> findByPage(int page, int pagesize);

    // 条件查询带分页
	PageResult<Student> search(Integer page, Integer pagesize, StudentVo studentVo);

}
